<?php
	require '../utils/conn.php';
	$setId = $_REQUEST['setId'];
	$recommandId = $_REQUEST['recommandId'];
	$isImportant = $_REQUEST['isImportant'];
	$query = "UPDATE t_recommand_set SET remark=$isImportant WHERE r_id=$recommandId and s_id=$setId";
	mysql_query($query) or die("insert set failed：". mysql_error());

?>